Other Protocols

The following protocols are available globally.

  • The ImageCache protocol defines a set of APIs for adding, removing and fetching images from a cache.

    See more

    Declaration

    Swift

    public protocol ImageCache
  • The ImageRequestCache protocol extends the ImageCache protocol by adding methods for adding, removing and fetching images from a cache given an URLRequest and additional identifier.

    See more

    Declaration

    Swift

    public protocol ImageRequestCache: ImageCache
  • Types adopting the URLConvertible protocol can be used to construct URLs, which are then used to construct URL requests.

    See more

    Declaration

    Swift

    public protocol URLConvertible
  • The ImageFilter protocol defines properties for filtering an image as well as identification of the filter.

    See more

    Declaration

    Swift

    public protocol ImageFilter
  • A type that determines whether a request should be retried after being executed by the specified session manager and encountering an error.

    See more

    Declaration

    Swift

    public protocol RequestRetrier
  • Components that can be applied to, must be reference type, e.g UITableView

    Declaration

    Swift

    public protocol InterpreterComponent : class
  • Interpreted values that can apply to components, e.g String, Array<String>, Array<UIColor> or UIFont

    Declaration

    Swift

    public protocol InterpreterValue
  • Conforming to this protocol means holding a valueType, e.g UIColor

    Declaration

    Swift

    public protocol InterpreterValueTyped : Hashable, CustomDebugStringConvertible, CustomStringConvertible
  • Conforming to this protocol means holding a componentType, e.g UIButton

    Declaration

    Swift

    public protocol InterpreterComponentTyped : Hashable, CustomDebugStringConvertible, CustomStringConvertible